<%@ include file="/WEB-INF/jsp/includes/include.jsp"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>NoAssertions.com</title>
	<link rel="stylesheet" href="<fmt:message bundle="${mess}" key="baseUrl" />css/reset.css" />
	<link rel="stylesheet" href="<fmt:message bundle="${mess}" key="baseUrl" />css/text.css" />
	<link rel="stylesheet" href="<fmt:message bundle="${mess}" key="baseUrl" />css/960.css" />
	<link rel="stylesheet" href="<fmt:message bundle="${mess}" key="baseUrl" />css/nastyle.css" />
</head>
<%@ include file="/WEB-INF/jsp/includes/bodyheader.jsp"%>

		<!--  start center section -->
		<div id="centerSection" class="grid_12">	
			<div class="grid_2 alpha">
				<img src="<fmt:message bundle="${mess}" key="baseUrl" />img/spacer.gif"/>
			</div>
			<div class="grid_8">
				<h2>Search</h2>
				<h4>Text Search</h4>
				<div class="indent3">
				<p>Search for text that might exist in a posted comment, a user's notes field, a fits notes field, or a in user's name. Partial searches are allowed using *. That is, you can search for Phil* if you wanted to find user's with the name of Phillips or Philips.</p>
  				<form name="searchForm" method="post" action="<fmt:message bundle="${mess}" key="servletUrl" />search">			
					<input type="text" name="query" size="35"/> in:
					<select name="dropdown">
						<option value="name">Name (First or Last)</option>
						<option value="notes">Notes</option>
						<option value="comments">Comments</option>
					</select>
					<span class="hidden">
						<input id="bread" type="text" size="10" name="bread" />
					</span>
					<input type="submit" class="inputSubmit" value="Search Text" />
				</form>
				</div>
				<h4>Search User Measurements</h4>
				<div class="indent3">
				<p>Find riders by specifying fit point ranges. This type of search will find riders whose contact points fall in the ranges you specify.</p>
  				<form name="rangeFit" method="post" action="<fmt:message bundle="${mess}" key="servletUrl" />similar/rider/range">	
						<p>Click the checkbox if you want the value to be considered in the search. Ranges provides are 1.5% below and 1.5% above original measurement.</p>
						<div><span class="col1"><input type="checkbox" name="totalbodyheight" value="totalbodyheight"/> Total Height:</span><input type="text" name="ltotalbodyheight" size="5" value="0"><input type="text" name="utotalbodyheight" size="5" value="200"></div>
						<div><span class="col1"><input type="checkbox" name="sternalnotch" value="sternalnotch"/>  Sternal Notch:</span><input type="text" name="lsternalnotch" size="5" value="0"><input type="text" name="usternalnotch" size="5" value="200"></div>
						<div><span class="col1"><input type="checkbox" name="shoulderwidth" value="shoulderwidth"/>  Shoulder Width:</span><input type="text" name="lshoulderwidth" size="5" value="0"><input type="text" name="ushoulderwidth" size="5" value="200"></div>
						<div><span class="col1"><input type="checkbox" name="trunk" value="trunk"/>Trunk:</span><input type="text" name="ltrunk" size="5" value="0"><input type="text" name="utrunk" size="5" value="200"></div>
						<div><span class="col1"><input type="checkbox" name="humerus" value="humerus"/>Humerus:</span><input type="text" name="lhumerus" size="5" value="0"><input type="text" name="uhumerus" size="5" value="200"></div>
						<div><span class="col1"><input type="checkbox" name="forearm" value="forearm"/>Forearm:</span><input type="text" name="lforearm" size="5" value="0"><input type="text" name="uforearm" size="5" value="200"></div>
						<div><span class="col1"><input type="checkbox" name="totalarm" value="totalarm"/>Total Arm:</span><input type="text" name="ltotalarm" size="5" value="0"><input type="text" name="utotalarm" size="5" value="200"></div>
						<div><span class="col1"><input type="checkbox" name="femur" value="femur"/>Femur:</span><input type="text" name="lfemur" size="5" value="0"><input type="text" name="ufemur" size="5" value="200"></div>
						<div><span class="col1"><input type="checkbox" name="tibia" value="tibia"/>Tibia:</span><input type="text" name="ltibia" size="5" value="0"><input type="text" name="utibia" size="5" value="200"></div>
						<div><span class="col1"><input type="checkbox" name="inseam" value="inseam"/>Inseam:</span><input type="text" name="linseam" size="5" value="0"><input type="text" name="uinseam" size="5" value="200"></div>
						<div><span class="col1"><input type="checkbox" name="footlength" value="footlength"/>Foot Length:</span><input type="text" name="lfootlength" size="5" value="0"><input type="text" name="ufootlength" size="5" value="200"></div>			
					<span class="hidden">
						<input id="bread" type="text" size="10" name="bread" />
					</span>
					<div class="submit">					
						<input type="submit" value="Find Similar Riders">
					</div>
				</form>	
				</div>
				<h4>Search Fit Measurements</h4>
				<div class="indent3">
					<p>Find fits by specifying fit point ranges. This type of search will find fits whose contact points fall in the ranges you specify.</p>
	  				<form name="rangeFit" method="post" action="<fmt:message bundle="${mess}" key="servletUrl" />similar/fit/range">	
							<p>Click the checkbox if you want the value to be considered in the search. Ranges provides are 1.5% below and 1.5% above original measurement.</p>
							<div><span class="col1"<input type="checkbox" name="saddleheight" value="saddleheight"/> Saddle Height:</span><input type="text" name="lsaddleheight" size="5" value="0"><input type="text" name="usaddleheight" size="5" value="200"></div>
							<div><span class="col1"<input type="checkbox" name="centertobars" value="centertobars"/>  Center to Bars:</span><input type="text" name="lcentertobars" size="5" value="0"><input type="text" name="ucentertobars" size="5" value="200"></div>
							<div><span class="col1"<input type="checkbox" name="centertosaddle" value="centertosaddle"/>  Center to Saddle:</span><input type="text" name="lcentertosaddle" size="5" value="0"><input type="text" name="ucentertosaddle" size="5" value="200"></div>
							<div><span class="col1"<input type="checkbox" name="floortosaddle" value="floortosaddle"/> Floor to Saddle:</span><input type="text" name="lfloortosaddle" size="5" value="0"><input type="text" name="ufloortosaddle" size="5" value="200"></div>
							<div><span class="col1"<input type="checkbox" name="floortobars" value="floortobars"/> Floor to Bars:</span><input type="text" name="lfloortobars" size="5" value="0"><input type="text" name="ufloortobars" size="5" value="200"></div>
							<div><span class="col1"<input type="checkbox" name="barswidth" value="barswidth"/> Bar Width:</span><input type="text" name="lbarswidth" size="5" value="0"><input type="text" name="ubarswidth" size="5" value="200"></div>
						<span class="hidden">
							<input id="bread" type="text" size="10" name="bread" />
						</span>
						<div class="submit">					
							<input type="submit" value="Find Similar Fits">
						</div>
					</form>	
				</div>	
			</div>
			<div class="grid_2 omega">
			</div>
		</div>
		<div class="clear"></div>
		<!--  end center section -->
<%@ include file="/WEB-INF/jsp/includes/footer.jsp"%>